package com.devunion.salon.core.model;

import javax.persistence.Embeddable;
import java.util.Date;

/**
 * @author spetrakovsky  23.02.2009
 */
@Embeddable
public class WorkingDayInfo extends BaseSalonEntity {

    private boolean open = true;

    private Date startTime;

    private Date endTime;

    public boolean isOpen() {
        return open;
    }

    public void setOpen(boolean open) {
        this.open = open;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }
}
